<?php S('editor/ueditor.config', 'js')?>
<?php S('editor/ueditor.all', 'js')?>
<?php S('editor/lang/zh-cn/zh-cn', 'js')?>
<div class="rbox">
    <h1><i class="fa fa-table"></i> <?php echo $oprName; ?></h1>
    <div class="rb">
        <table border="0" cellspacing="0" cellpadding="0" class="updateTable">
            <tbody>
                <tr>
                    <th>工程名称：</th>
                    <td><?php echo $data['projectName'] ?></td>
                </tr>
                <tr>
                    <th>工程分类：</th>
                    <td><?php if($data['type'] == "forward") { echo '正向工程';}elseif($data['type'] == "reverse"){ echo '反向工程';} ?></td>
                </tr>
            </tbody>
        </table>
    </div>
</div>

<div class="rbox">
    <h1><i class="fa fa-table"></i> 查看迁移详情</h1>
    <div class="rb">
        <div class="btn-group">
            <a class="add goUrl btn btn-sm btn-info" href="javascript:void(0);" url="<?php echo U('Tester/Migration/migrateAdd')?>"><i class="fa fa-plus"></i></a>
            <a class="del btn btn-sm btn-danger" href="javascript:void(0);" url="<?php echo U('Tester/Migration/doMigrateDelete')?>"><i class="fa fa-remove"></i></a>
            <div class="clearfix"></div>
        </div>
        <table border="0" cellspacing="0" cellpadding="0" class="listTable">
            <thead>
                <tr>
                    <th>迁移名称</th>
                    <th>迁移文件名</th>
                    <th>迁移类型</th>
                    <th>操作</th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td> 创建表Users</td>
                    <td> users</td>
                    <td> 创建表</td>
                    <td>
                        <a class="add goUrl btn btn-sm btn-info" href="javascript:void(0);" url="<?php echo U('Tester/Migration/migrateOne')?>"><i class="fa fa-table"></i></a>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
</div>
<script type="text/javascript">
    var ue = UE.getEditor('description');
    var ue1 = UE.getEditor('introduce');
</script>